<template>
  <ul>
    <li>消息的编号是:{{$route.query.id}}</li>
    <li>消息的标题是:{{$route.query.title}}</li>
  </ul>
</template>

<script>
export default {
    name:"Detail",
    mounted(){
        console.log(this);
    }
}
</script>

<style>

</style>